package com.kefu.call.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kefu.call.model.ActivityBaseInfo;
import com.kefu.call.vo.ActivityBaseInfoSearchVo;
import com.kefu.common.mybatis.KefuMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author francis
 * @date 2021/05/22
 */
public interface ActivityBaseInfoMapper extends KefuMapper<ActivityBaseInfo> {

    /**
     *
     * @param id
     * @return
     */
    ActivityBaseInfo findById(@Param("id") String id);

    /**
     * 查询活动管理
     * @param page
     * @param param
     * @return
     */
    Page<ActivityBaseInfo> selectActivityBaseInfo(Page<ActivityBaseInfo> page, @Param("param") ActivityBaseInfoSearchVo param);
}